package com.alu.sg.allstart.allstar;

import android.content.Context;
import android.content.Intent;

import com.alu.sg.allstart.base.BaseFragment;
import com.alu.sg.allstart.base.SGActivity;

/**
 * Created by Alu on 2017/9/18.
 * version 1.0
 */

public class MyGirlStarDetailActivity extends SGActivity {
    @Override
    public BaseFragment getFirstFragment() {
        return MyGirlStarDetailFragment.newInstance(getIntent().getStringExtra("name"));
    }

    public static void actionStart(Context context, String name) {
        Intent intent = new Intent(context, MyGirlStarDetailActivity.class);
        intent.putExtra("name", name);
        context.startActivity(intent);
    }
}
